package com.k2091.washcar.service.impl;

import com.k2091.washcar.entity.Examine;
import com.k2091.washcar.entity.FormInline;
import com.k2091.washcar.entity.UsersCar;
import com.k2091.washcar.mapper.ExamineMapper;
import com.k2091.washcar.service.IExamineService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2021-06-02
 */
@Service
public class ExamineServiceImpl extends ServiceImpl<ExamineMapper, Examine> implements IExamineService {
    @Autowired
    private ExamineMapper examineMapper;

    @Override
    public List<Examine> selectExamineById(Long id) {
        return examineMapper.selectExamineById(id);
    }

    @Override
    public int insertExamine(Examine examine) {
        return examineMapper.insert(examine);
    }

    @Override
    public List<Examine> selectExamineByAll(FormInline formInline) {
        return examineMapper.selectExamine(formInline);
    }
}
